ci: Specify `only` for other jobs
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 7 Jan 2021 16:03:10 +0000 (16:03 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 7 Jan 2021 16:13:59 +0000 (16:13 +0000)
Otherwise MRs will only run macOS jobs.

.gitlab-ci.yml

index 5b5ee631a37d3d37b9476dd3e83723f4246e036d..1c53f4f0f6b4efb539ed08405276d27b8c1732a1 100644 (file)
@@ -43,6 +43,7 @@ style-check-diff:
     - .gitlab-ci/run-style-check-diff.sh
 
 .build-fedora-default:
+  extends: .only-default
   image: $FEDORA_IMAGE
   artifacts:
     when: always
@@ -121,6 +122,7 @@ installed-tests:
 
 
 .mingw-defaults:
+  extends: .only-default
   stage: build
   tags:
     - win32-ps
@@ -145,12 +147,10 @@ msys2-mingw64:
     CHERE_INVOKING: "yes"
 
 macos:
+  extends: .only-default
   stage: build
   tags:
     - macos
-  only:
-    - master
-    - merge_requests
   needs: []
   before_script:
     - bash .gitlab-ci/show-execution-environment.sh